<%@ page contentType="text/html; charset=UTF-8"%>
<html>
  <title>Struts2-Demo</title>
  <script type="text/javascript" src="script/jquery-1.7.2.min.js"></script>
<body>
  <div align="center">Struts2-Demo</div>
  <div>
    <input type="button" onClick="location='.action'" value="Interceptor测试" /> <br>
    <input type="button" onClick="location='upload/uploadForm.action'" value="文件上传测试" />    <br>
    <input type="button" onClick="location='.action'" value="文件下载测试" />    <br>
    <input type="button" onClick="location='report/testjasperreport.action'" value="iReport测试" />     <br>
    <input type="button" onClick="location='image.action'" value="图片测试" />     <br>
    <input type="button" onClick="location='testConvert.action'" value="s:form表单测试" />     <br>
    <input type="button" onClick="location='validate/validateform.action'" value="validate测试" />     <br>
    <input type="button" onClick="location='testresult/result.action'" value="自定义返回结果测试" />     <br>
  </div>
  <div>
    <input type="button" onClick="location='testresult/result.action'" value="测试taglib中的set" /><br>
  </div>
  <div style="color: #1E50A2; border:dotted; width: 10%px; height: 15%;" >
    <input type="button" value="搜狐授权测试" onClick="location='auth/sohuAuth.action'"/>
  </div>
</body>
</html>